package com.usain;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class FeignApp {
    public static void main(String[] args) {
        SpringApplication.run(FeignApp.class,args);
    }

    /*@Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }

    //随机策略
    @Bean
    public RandomRule getRuleribbonRule() {
        return new RandomRule();
    }*/
}
